package com.tanhua.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tanhua.manage.pojo.UserFreeze;
import com.tanhua.manage.vo.UserFreezeVo;

public interface UserFreezeService extends IService<UserFreeze> {
    /**
     * 获取用户冻结状态
     */
    Boolean getFreezeStatusByUserId(Long userId);
    /**
     * 冻结操作
     *
     */
    Boolean freeze(UserFreezeVo freezeVo);
    /**
     * 解冻操作
     *
     * @param vo
     * @return
     */
    Boolean unfreeze(UserFreezeVo vo);
}
